#include"file.h"

int main(){
	char file_name[] = "test2.txt";
	char out[] = "1.txt";
	File file(file_name, ORIGIN_CSV);
	/*File file;
	__int64 size = 1 * 1024 * 1024;
	size = size * 1024;
	file.createFile(file_name, size, TEST_CSV);
	file.fill();
	//std::cout<<file.next()<<"\n"<<file.next()<<"\n"<<file.next()<<"\n";
	//std::cin.get();
	//std::vector<File> tmp = file.split();
	//std::cout<<(tmp[4])[(tmp[4].size - 4)/4];
	//std::cin.get();*/
	file.sortTo(out);
	return 0;
}